/**
 * MCGetDownloadFileHostsList.java
 */
package commands.model;
import dataTypes.File;

/**
 * Request to return the list of hosts hosting a download file.
 * @author Michal Kolodziejski
 */
public class MCGetDownloadFileHostsList extends ModelCommand {
	/** A file of which the list of hosts hosting it is requested. */
	private File file;
	
	
	/**
	 * Constructor
	 * @param file a file of which the list of hosts hosting it is requested
	 */
	public MCGetDownloadFileHostsList(File file){
		super(ModelCommandType.GET_DOWNLOAD_FILE_HOSTS_LIST);
		this.file = file;
	}

	/**
	 * @return the file of which the list of hosts hosting it is requested
	 */
	public File getFile() {
		return file;
	}
}
